-
Home
-
WPForms – Easy Form Builder for WordPress – Contact Forms, Payment Forms, Surveys, & More
-
1.8.9.1
-
Code
-
Classes
- Payment
Total Complexity |
49 |
Dependencies |
1 |
Dependents |
0 |
Total lines |
515 |
Lines of code |
234 |
Logical lines of code |
96 |
Comment lines |
198 |
Methods |
16 |
Properties |
0 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_columns_where_conditions() |
A |
47 |
9 |
36 |
cast_amounts_to_float() |
S |
64 |
6 |
9 |
update() |
S |
62 |
5 |
10 |
get_payments() |
S |
55 |
3 |
17 |
add() |
S |
67 |
4 |
7 |
get() |
S |
67 |
4 |
7 |
current_user_can() |
S |
63 |
4 |
10 |
create_table() |
S |
52 |
1 |
37 |
add_secondary_where_conditions() |
S |
56 |
2 |
19 |
delete() |
S |
66 |
3 |
8 |
sanitize_get_payments_args() |
S |
59 |
2 |
15 |
get_columns() |
S |
54 |
1 |
23 |
get_column_defaults() |
S |
54 |
1 |
23 |
get_by() |
S |
74 |
2 |
4 |
__construct() |
S |
73 |
1 |
5 |
get_table_name() |
S |
76 |
1 |
4 |